.PHONY:all
all:write read malloc
write:mmap_write.cc
	g++ -o $@ $^ -std=c++11
read:mmap_read.cc
	g++ -o $@ $^ -std=c++11
malloc:mmap_malloc.cc
	g++ -o $@ $^ -std=c++11

.PHONY:clean
clean:
	rm -f write read malloc